﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Retirement/retirement.master" AutoEventWireup="true" CodeFile="premiumTopUp.aspx.cs" Inherits="Retirement_topUpPremium" %>

<asp:Content ID="Content" ContentPlaceHolderID="retirement_ContentPlaceHolder" runat="Server">

        <style type="text/css">
        ul li
        {
            list-style-type: square;
            list-style-image: url('http://localhost:56446/WorldTradeBank/Retirement/Images/square_bullet_red.png');
        }
        .tbl_premiumTopUp th, td
        {
            text-align: left;
            height:30px;
        }
    </style>

     <h2 id="heading">
        <a href="../home.aspx">World Trade Bank</a> > <a href="home.aspx">Retirement</a>
        > <a href="myPortfolio.aspx">My Portfolio</a> > Single Premium Top-Up</h2>

    <p style="font-family: 'Oxygen', Arial; font-weight: bold; font-size: 40px">
      Single Premium Top-Up</p>

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">Advice</legend>
        <br />
        It is important to seek advice from your WorldTrade Representative before submitting this Application. Your WorldTrade Representative can
        provide suitable recommendations to you, taking into account your financial objectives, financial situation and particular needs.
       <br /><br />
        <asp:RadioButton ID="cb_metRepresentative" runat="server" GroupName="metRepresentative" Text="I/We met my Representative and:" /><br />
        <ul>
            <li>DID obtain advice from my/our Representative before submitting this Application; OR</li>
            <li>DID obtain advice from my/our Representative BUT the transaction I/We have chosen is not a transaction recommended by my/our
                Representative; OR</li>
            <li>notified my/our Representative that I/We do not want any advice.</li>
        </ul>
        <br />

        <asp:RadioButton ID="cb_didNotMetRepresentative" runat="server" GroupName="metRepresentative" Text="I/We DID NOT meet my/our Representative before submitting this Application." /><br />
        <ul>
            <li>I/We now wish to be referred to a Representative for advice before I/we submit this Application.</li>
            <li>I/We do not wish to be referred to a Representative for advice before I/we submit this Application.</li>

        </ul>
        </fieldset>
        <br /><br />

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">A. Top-Up Payment Details</legend>
        <br />
         Please note the following criteria:
        <br />
         <ul>
            <li>Maximum no. of funds per policy is 5.</li>
            <li>Minimum Top-Up amount per policy is $500.</li>
            <li>Minimum Top-Up amount per fund is $500.</li>
        </ul>

        <p>
        &nbsp;Single Premium Top-up Amount $ <asp:TextBox ID="tb_topUpAmount" runat="server"></asp:TextBox>
        &nbsp;<asp:SqlDataSource ID="SqlDataSource_existingFunds" runat="server" 
                ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                SelectCommand="SELECT '' AS fund_code, '' AS fund_name UNION ALL SELECT P.fund_code, fund_name FROM [R_POLICY_FUND] P, [R_FUND] F WHERE P.fund_code=F.fund_code and P.status='ACTIVE' and ([policy_no] = @policy_no)">
                <SelectParameters>
                    <asp:QueryStringParameter DefaultValue="FP2013" Name="policy_no" 
                        QueryStringField="policyNo" />
                </SelectParameters>
            </asp:SqlDataSource>
        </p>
        </fieldset>
        <br /><br />

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">B. Top-Up Fund</legend>
        <br />
        <table class="tbl_premiumTopUp" width="70%"> 
        <colgroup>
            <col style="width: 40%;">
            <col style="width: 40%;">
        </colgroup>

        <tr>
        <th>Name of Fund(s)</th>
        <th>% (in whole number)</th>
        </tr>

        <tr>   
        <td><asp:DropDownList ID="ddl_topUpFund1" runat="server" Width="80%" 
                DataSourceID="SqlDataSource_existingFunds" DataTextField="fund_name" 
                DataValueField="fund_code">
            </asp:DropDownList>
        </td>
        <td><asp:TextBox ID="tb_topUpFundPercentage1" runat="server" Text=""></asp:TextBox></td>
        </tr>

        <tr>   
        <td><asp:DropDownList ID="ddl_topUpFund2" runat="server" Width="80%" 
                DataSourceID="SqlDataSource_existingFunds" DataTextField="fund_name" 
                DataValueField="fund_code">
            </asp:DropDownList></td>
        <td><asp:TextBox ID="tb_topUpFundPercentage2" runat="server" Text=""></asp:TextBox></td>
        </tr>

        <tr>   
        <td><asp:DropDownList ID="ddl_topUpFund3" runat="server" Width="80%" 
                DataSourceID="SqlDataSource_existingFunds" DataTextField="fund_name" 
                DataValueField="fund_code">
            </asp:DropDownList></td>
        <td><asp:TextBox ID="tb_topUpFundPercentage3" runat="server" Text=""></asp:TextBox></td>
        </tr>

        <tr>   
        <td><asp:DropDownList ID="ddl_topUpFund4" runat="server" Width="80%" 
                DataSourceID="SqlDataSource_existingFunds" DataTextField="fund_name" 
                DataValueField="fund_code">
            </asp:DropDownList></td>
        <td><asp:TextBox ID="tb_topUpFundPercentage4" runat="server" Text=""></asp:TextBox></td>
        </tr>

        <tr>   
        <td><asp:DropDownList ID="ddl_topUpFund5" runat="server" Width="80%" 
                DataSourceID="SqlDataSource_existingFunds" DataTextField="fund_name" 
                DataValueField="fund_code">
            </asp:DropDownList></td>
        <td><asp:TextBox ID="tb_topUpFundPercentage5" runat="server" Text=""></asp:TextBox></td>
        </tr>
        </table>  
        <br />
        </fieldset>
        <br /><br />

        <fieldset>
        <legend style="font-size: 28px; font-weight: bold">Declaration</legend>
        <br />
        <asp:CheckBox ID="cb_agree" runat="server" Text="I agree to the following statements:" /><br /><br />
        1. I/We understand the contents of this Application and confirm that I/We wish to perform the transaction selected above.
        <br /><br />
        2. I/We/The beneficiaries are not undischarged bankrupt(s). There are currently no pending or threatened bankruptcy proceedings against me/us.
        <br /><br />
        3. I/We declare that no material facts, that is, facts likely to influence the assessment of this Application for Single Premium Top-Up have been withheld and to the
        best of my/our knowledge and belief the information given herein is true and complete.
        <br /><br />
        4. I/We agree to inform the Company if there is any change in the state of health, occupation or activity of the Life Insured between the date of this Application or
        medical examination and the issue of the above benefit. On receiving the information of any change, the Company is entitled to accept or reject my Application.
        <br /><br />
        5. I/We are aware that this Application will not be effective until it is formally accepted by the Company.
        </fieldset>
        <br /><br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
         <asp:ImageButton ID="btn_premiumTopUpRequest" runat="server" 
            ImageUrl="~/Retirement/Images/confirmSubmit.png" Width="150" onclick="btn_premiumTopUpRequest_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:ImageButton ID="btn_cancelRequest" runat="server" 
            ImageUrl="~/Retirement/Images/cancelSubmit.png" Width="150" 
            onclick="btn_cancelRequest_Click" />
<%--        <asp:ImageButton ID="btn_fundSwitchRequest" runat="server" 
            ImageUrl="~/Retirement/Images/submit.png" Width="150" 
            onclick="btn_fundSwitchRequest_Click" />--%>
              <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Label ID="lb_exceptionMsg" runat="server" ForeColor="Red"></asp:Label>
</asp:Content>

